//
//  BK_OD_Tool.h
//  bestkeep
//
//  Created by TOPTEAM on 2017/3/13.
//  Copyright © 2017年 utouu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <Masonry.h>
#import <FSCalendar.h>
#import "MJExtension.h"

#import "ExceptionView.h"
#import "RequestManager+BK.h"
#import "UIScrollView+BKOrderHeader.h"

#import "BK_Order_Model.h"


#import "BKODPaymentObject.h"
#import "BKOrderPaymentCell.h"
#import "BKOrderPaymentView.h"
#import "BKOrderPaymentHeaderFooterView.h"
#import "BKOrderPaymentViewController.h"

#import "BKOrderPayForResultsViewController.h"

#import "BKOrderChooseCouponsView.h"
#import "BKOrderChooseCouponsHFView.h"
#import "BKOrderCouponsViewController.h"

#import "BKOrderDeliveryDateObject.h"
#import "BKOrderDeliveryDateViewController.h"

#import "BKODAddressObject.h"
#import "BKODAddressViewController.h"

#import "BKMyOrderParamerModel.h"
#import "BK_My_Order_SectionModel.h"
#import "BK_My_Order_CellModel.h"
#import "BK_My_DetailOrder_SectionModel.h"
#import "BKMyOrderStatusCount.h"
#import "BKMyOrderEvalutingCountModel.h"
#import "BKMyOrderGetDataFromNetWork.h"
#import "Masonry.h"
#import "Common.h"
#import "LoadingView.h"
#import "BKIndicationView.h"
#import "BKMyOrderFooterAutoReferesh.h"


#define kOrderLocalizeString(key) [BK_OD_Tool localizedStringWithKey:key]
#define kOrderURL(url)            [BK_OD_Tool orderServicesURL:url]
#define kOrderWebURL(url)         [BK_OD_Tool orderWebURL:url]
#define kOrderUTOUUURL(url)       [BK_OD_Tool orderUTOUUURL:url]
#define kOrderPromptMsg(msg)      [BK_OD_Tool orderPromptMsg:msg]
#define kOrderSuccessMsg(msg)     [BK_OD_Tool orderSuccessMsg:msg]
#define kOrderLoading             [BK_OD_Tool orderLoading]
#define kOrderDismiss             [BK_OD_Tool orderDismiss]

#define kOrderScreenWidth   CGRectGetWidth([UIScreen mainScreen].bounds)
#define kOrderScreenHeight  CGRectGetHeight([UIScreen mainScreen].bounds)

#define iPhone4 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(320, 480), [[UIScreen mainScreen] currentMode].size) : NO) ?YES:NO
#define iPhone5 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO)
#define RGB(R,G,B) [UIColor colorWithRed:R/255.0 green:G/255.0 blue:B/255.0 alpha:1]


#define ThemeBackgroundColor HexColor(0xeeeeee)
//字体大小;
#define Font14 [UIFont systemFontOfSize:14]
#define Font13 [UIFont systemFontOfSize:13]
#define Font12 [UIFont systemFontOfSize:12]



@interface BK_OD_Tool : NSObject
+ (NSString *)localizedStringWithKey:(NSString*)key;

+ (NSString *)orderServicesURL:(NSString *)url;
+ (NSString *)orderWebURL:(NSString *)url;
+ (NSString *)orderUTOUUURL:(NSString *)url;

+ (void)orderPromptMsg:(NSString *)msg;
+ (void)orderSuccessMsg:(NSString *)msg;
+ (void)orderLoading;
+ (void)orderDismiss;

@end
